package com.hancher.asmdemo;

import android.app.Activity;
import android.os.Build;
import android.util.Log;
import android.view.View;
import android.view.ViewAnimationUtils;

import androidx.annotation.RequiresApi;

public class ClickTest {
    @RequiresApi(api = Build.VERSION_CODES.LOLLIPOP)
    public static void main(String[] args) {
        View a = new View(new Activity());
        a.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                Log.d("123", v.toString());
                ViewAnimationUtils.createCircularReveal(v, 0, 0, 0, 0);
            }
        });
        View a2 = new View(new Activity());
        a2.setOnClickListener(v -> {
            Log.d("123", "点击 1");
//            ViewAnimationUtils.createCircularReveal(v,0,0,0,0);
        });
    }

}
